<template>
    <div>
        <!-- 固定在顶部内容 -->
        <mt-header title="固定在顶部"></mt-header>
        <!-- router-view 设置路由切换 -->
            <router-view></router-view>
        <!-- 底部导航栏 -->
       <nav class="mui-bar mui-bar-tab">
			<router-link class="mui-tab-item mui-active" href="#tabbar" to="/home"> 
				<span class="mui-icon mui-icon-home"></span>
				<span class="mui-tab-label">首页</span>
			</router-link>
			<router-link class="mui-tab-item" href="#tabbar-with-chat" to="/vip">
					<span class="mui-icon mui-icon-contact"></span>
				    <span class="mui-tab-label">会员</span>
			</router-link>
			<router-link class="mui-tab-item" href="#tabbar-with-contact" to="/shopcar">
                <span class="mui-icon mui-icon-extra mui-icon-extra-cart"><span class="mui-badge">9</span></span>
				<span class="mui-tab-label">购物车</span>
			</router-link>
			<router-link class="mui-tab-item" href="#tabbar-with-map" to="/search">
				<span class="mui-icon mui-icon mui-icon-search"></span>
				<span class="mui-tab-label">搜索</span>
			</router-link>
		</nav>
    </div>
</template>
<style lang="css" scoped>
    .app-container{
        padding-top: 10px;
    }
</style>